<?php $this->renderPartial("application.views.layouts._menu");?>
<?php $url = new Url(); ?>
<div class="about">
    <!-- box login -->
    <?php $this->widget("BoxLogin");?>
    <!-- end box login -->
    
    <h2><a><img width="16" height="18" class="kc_TB_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-thongbao.png"></a><a class="xanhdam" href="#">Thông báo</a>
    </h2>
    <div class="TB">
        <ul>
            <?php 
                if(!empty($tip)){
                    foreach ($tip as $key=>$value){?>
                    <li><a class="xanh" href="<?php echo Url::createUrl("home/tipDetail",array("id"=>$value['id'],"alias"=>$value['alias'])); ?>"><img width="9" height="9" class="kc_TB_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-thongbao-tieude.gif"><?php echo $value['title'] ?></a>
                    </li>
                    <?php } }?>
        </ul>
    </div>
    <h2><a><img width="16" height="18" class="kc_SK_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-sukien-tieude.png"></a><a class="xanhdam" href="#">Sự Kiện</a></h2>
    <div class="SK">
        <?php foreach ($event as $key=>$value){?>
            <div class="SK_1">
                <a class="SK_button_<?php echo $key; ?>" href="<?php echo Url::createUrl("home/eventDetail",array("id"=>$value['gameId'],"alias"=>$value['alias'])); ?>"><?php echo $value['title_game']; ?></a><a class="denxam" href="<?php echo Url::createUrl("home/eventDetail",array("id"=>$value['gameId'],"alias"=>$value['alias'])); ?>"><?php echo $value['title']; ?></a>
            </div>

            <?php } ?>
    </div>
    <h2>
        <a><img width="16" height="18" class="kc_DV_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-dichvu-tieude.png"></a><a class="xanhdam" href="#">Dịch Vụ</a>
    </h2>
    <div class="DV">
        <div class="DV_1">
            <a href="<?php echo Url::createUrl("service/gameOnlineList"); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-game-online.png"></a><br><span><a class="xanhDV" href="<?php echo Url::createUrl("service/gameOnlineList"); ?>">Bán Game Online</a></span>
        </div>
        <div class="DV_1">
            <a href="<?php echo Url::createUrl("service/gameOfflineList"); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-game-offline.png"></a><br><span><a class="xanhDV" href="<?php echo Url::createUrl("service/gameOfflineList"); ?>">Bán Game Offline</a></span>
        </div>
        <div class="DV_1">
            <a href="<?php echo $url->createUrl("service/applicationDetail",array("id"=>3,"type"=>2)); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-clip.png"></a><br><span><a class="xanhDV" href="<?php echo $url->createUrl("service/applicationDetail",array("id"=>3,"type"=>2)); ?>">Bán Clip</a></span>
        </div>
        <div class="both"></div>
    </div>
    <div class="DVa">
        <div class="DV_1">
            <a href="<?php echo Url::createUrl("service/appList"); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-application.png"></a><br><span><a class="xanhDV" href="<?php echo Url::createUrl("service/appList"); ?>">Bán Apps</a></span>
        </div>
        <div class="DV_1">
            <a href="<?php echo Url::createUrl("service/attachPaymentApkOption"); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-gan-kich-hoat-APK.png"></a><br><span><a class="xanhDV" href="<?php echo Url::createUrl("service/attachPaymentApkOption"); ?>">Gắn kích hoạt APK</a></span>
        </div>
        <div class="DV_1">
            <a href="<?php echo Url::createUrl("service/attachPaymentJarOption"); ?>"><img width="90" height="87" class="kc_DV" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-gan-kich-hoat-SMS.png"></a><br><span><a class="xanhDV" href="<?php echo Url::createUrl("service/attachPaymentJarOption"); ?>">Gắn kích hoạt Java</a></span>
        </div>
        <div class="both"></div>
    </div>
    <form method="POST" action="<?php echo Url::createUrl("login/index")?>"> 
        <div class="DNHT">
            <h2>
                <a href="#"><img width="16" height="18" class="kc_DNHT_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-dang-nhap-he-thong.png"></a><a class="xanhdam" href="#">Đăng Nhập Hệ Thống</a>
            </h2>
            <div class="DNHT_1">
                Tài khoản<br>
                <input type="text" class="box_DNHT" maxlength="15" name="username"><br>
                Mật khẩu<br>
                <input type="password" class="box_DNHT" maxlength="15" name="password"><br>
                <input type="checkbox" class="kc_DNHT" value="1" name="remember">Ghi nhớ mật khẩu | <a class="do" href="<?php echo Url::createUrl("account/forgetPassword"); ?>">Quên mật khẩu</a>
            </div>
            <div class="button_DNHT">
                <input type="submit" class="button_DNHT_1" value="Đăng Nhập" >
                <a class="button_DNHT_2" href="<?php echo Url::createUrl("account/register"); ?>">Đăng Ký</a>
            </div>
        </div>
    </form>
    <!-- box footer -->
    <?php $this->widget("BoxFooter");?>
    <!-- end box footer -->

</div>

